package com.javaweb.dao;

import com.javaweb.model.Comment;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import java.util.List;

@Component
@Repository
public interface CommentDao {

    public int insert(Comment newComment);
    public int insertSupport(Integer commentId);
    public int insertOppose(Integer commentId);
    public List selectAllCommentsById(Integer articleId);

}